kexec: Remove xen/common/compat/kexec.c
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 3 Mar 2008 10:59:03 +0000 (10:59 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 3 Mar 2008 10:59:03 +0000 (10:59 +0000)
xen/common/compat/kexec.c and and the resulting two-pass build
of xen/common/kexec.c is no longer needed.

Signed-off-by: Simon Horman <horms@verge.net.au>
xen/common/Makefile
xen/common/kexec.c

index 631ac384bd3740aa19af0130f8c3890345cdbbff..e190a550147d33b83af4e13b428f3e329846039d 100644 (file)
@@ -48,7 +48,6 @@ version.o: $(BASEDIR)/include/xen/compile.h
 ifeq ($(CONFIG_COMPAT),y)
 # extra dependencies
 grant_table.o: compat/grant_table.c
-kexec.o: compat/kexec.c
 schedule.o: compat/schedule.c
 xenoprof.o: compat/xenoprof.c
 endif
index ccb5363b53998490ff8984d0043ee3523a57f2fa..02f633d660a32f7442004fe55a6db53b961e73da 100644 (file)
@@ -27,8 +27,6 @@
 #include <compat/kexec.h>
 #endif
 
-#ifndef COMPAT
-
 static DEFINE_PER_CPU(void *, crash_notes);
 
 static Elf_Note *xen_crash_note;
@@ -455,12 +453,6 @@ int compat_kexec_op(unsigned long op, XEN_GUEST_HANDLE(void) uarg)
 }
 #endif
 
-#endif /* COMPAT */
-
-#if defined(CONFIG_COMPAT) && !defined(COMPAT)
-#include "compat/kexec.c"
-#endif
-
 /*
  * Local variables:
  * mode: C